﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebApiV3.Data
{
    public class BaseEntity
    {

        public BaseEntity()
        {
            IsActive = true;
            IsDelete = false;
            CreatedTime = DateTime.Now;
            UpdatedTime = DateTime.Now;
        }

        public int Id { get; set; }

        public bool IsActive { get; set; }

        public bool IsDelete { get; set; }

        public DateTime CreatedTime { get; set; }
        
        public DateTime UpdatedTime { get; set; }
    }
}
